package com.example.art_cloud_backend.controller;

import com.example.art_cloud_backend.common.BaseResponse;
import com.example.art_cloud_backend.common.ResultUtils;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author caiya
 * @Description 系统控制层
 * @Version 1.0
 */
@RestController
@RequestMapping("/")
public class SystemController {

    /**
     * 健康检查
     * @return 健康检查结果
     */
    @GetMapping("/health")
    private BaseResponse<String> health() {
        return ResultUtils.success("success");
    }
}
